fix so the action bar can hide in landscape mode