fixed sleep activity layout bugs