made the bounce effect more natural by taking screen density into account.