changed to css transforms from jquery