Reduced some lines of code

removed redundant hidden object , delete css class later