Slip the first stitch as if to purl...yarn is held in front. If your next stitch is knit move yarn to back; if the next stitch is purled hold yarn in front. Knit the last stitch of every row. The slipped stitch gets knit every other row and you end up with a slightly elongated knit stitch on both ends of your scarf...very neat looking!
Good luck with your design!