Fixed comments
Added some utility function for the slides viewport