Orientation change handler

Function changes style of objects inside html while orientation of screen is changed.