put snap drawer on each partial views, tidy up codes