20140706_1257
exit function after clicking back button only in first frame