updated styling and orientation, added javascript