Fixing the issue where the edit bar dissappeared in tablet view