moving map modal, refactoring animations