Move current tab into the specified direction