Fixed a layout problem in 'top' class