You can now enabled bouncing on just the top or bottom. Removed unused variables.