Modified calls to onShow(height) and onDismiss(height) so they both occur when the action is starting and they both provide an exact height in pixels instead of a maximum height. This helps in implementing floating action buttons movement with respect to the snackbar as specified in the material guidelines.

Also removed some unneeded calls to dpToPx().