Fixed bug then tabbing between first and last elements