moving platform fix for jump
enemy speed