dismiss keyboard when background is tapped on registration screen