rearranged css and removed redundancies
fixed comments