Update functions.php

added theme support for thumbnails