A jank-free version of a Codrops template