Converted device nav animation to css transitions, fixed main top positioning