Improve behaviour of tab bar after moving