Used css3 instead of jquery for better performance