style for next and previous
adding focus directive