Workaround for issue w Bootstrap collapsed menu when custom code is introduced