Add conditional slider on view with news/events

Also add some code improvements
This refs affinitic #5770