A UI behavior of slide menu using Swift