[NEW] scroll to the right position when switching different tabs