Removed glitchy CSS animation from slider by not transitioning height and opacity at the same time.