Animated navigation in pure CSS 3