Add transition to body element for transition effect on media queries