Fixing ajax css bug