used arrow nav lib instead of copy and pasting selected css