Fixing css bug on browsing page