main fixed control bug
added layout css and markup