implement falling animation
fixes for firefox