Added method to move the modal view to the top with a margin offset.