added animation to show/hide of pagefunction
added hide/show event for navigation
added icon for preview