top level switch element for better positioning
implement transform for better gpu performance
remove unnecessary prefixed transition properties