stopped gravity

added if statement to create a floor effect