Fixed rotation bug and fixed open button bug that appears when directory detail view pops up.
Added a delete all function.
cleaned before final push of day.