Adding jQuery in order to make items rotate and move