fixed margin bug and removed animation delay