Added animation to close button and also fixed current position that is saved throughout the uiview's lifetime.