swipe and zoom layout fix