Revert "added the resize function to the profile view"

This reverts commit f6127ab920e3482878a6a1052bd9d30ca96ff871.
reverting