Added hide image function
hide now works