add Tab/Back Tab functionality