only load the scripts on single posts

Since we're using the $post global, we should only do this on singular posts.