Fixes issues regarding searchbar animation and positioning