Added flag for bot and top collision makes it easier.