implemented status and action bar dependent screen sizing