Small change to make UI a bit more smooth when shifting tabs