add slide mode, fix image in wrong dir