Resolve the position of bottom bar