refactored attack animation to be not in lightbox